package com.itheima.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.dto.UserDTO;
import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.User;
import com.itheima.health.vo.UserVO;

import java.util.Map;

public interface UserService extends IService<User> {
    UserVO findUserInfoByUsername(String username);

    PageResult findPage(QueryPageBean queryPageBean);

    void saveUser(UserDTO userDTO);

    Map findroleInfoByUserId(int id);
}
